home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 2.toast / pc / sample code / quicktime / basics / qtfullscreen.win / qtfullscreen.h < prev    next >
Encoding:
Text File  |  2000-10-06  |  1.3 KB  |  52 lines

  1. //////////
  2. //
  3. //    File:        QTFullScreen.h
  4. //
  5. //    Contains:    Functions to display full-screen QuickTime movies.
  6. //
  7. //    Written by:    Tim Monroe
  8. //
  9. //    Copyright:    © 1997 by Apple Computer, Inc., all rights reserved.
  10. //
  11. //    Change History (most recent first):
  12. //
  13. //       <2>         09/18/00    srk        added PumpNextNativeEvent function to allow the QT
  14. //                                  network code to execute (not having this was causing
  15. //                                  the PrePreroll function to never complete)
  16. //       <1>         12/22/97    rtm        first file
  17. //       
  18. //////////
  19.  
  20. //////////
  21. // header files
  22. //////////
  23.  
  24. #ifndef __MOVIES__
  25. #include <Movies.h>
  26. #endif
  27.  
  28. #ifndef __QTML__
  29. #include <QTML.h>
  30. #endif
  31.  
  32. #define    STRICT
  33. #include <Windows.h>
  34.  
  35. #include "WinPrefix.h"
  36.  
  37. //////////
  38. // function prototypes
  39. //////////
  40.  
  41. OSErr                        QTFullScreen_PlayOnFullScreen (void);
  42. OSErr                        QTFullScreen_RestoreScreen (void);
  43. OSErr                        QTFullScreen_EventLoopAction (EventRecord *theEvent);
  44.  
  45. #if TARGET_OS_WIN32
  46. LRESULT CALLBACK            QTFullScreen_HandleMessages (HWND theWnd, UINT theMessage, UINT wParam, LONG lParam);
  47. #endif
  48.  
  49. PASCAL_RTN void                QTFullScreen_MoviePrePrerollCompleteProc (Movie theMovie, OSErr thePrerollErr, void *theRefcon);
  50. OSErr                        QTFullScreen_PlayMovieOnFullScreen (Movie theMovie);
  51. void                        PumpNextNativeEvent(void);
  52.